//
//  StockAppService.h
//  Stock
//
//  Created by blacksun on 11-6-30.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseService.h"
#import "MacroDefine.h"
#import "Section.h"
#import "CommonUtil.h"
#import "MyStock.h"

#define kStockAppServiceSignUp  @"siginup"
#define kStockAppServiceLogin   @"login"
#define kStockAppServiceLogout   @"logout"
#define kStockAppServiceNewOpinion @"newOpinion"
#define kStockAppServiceQueryOpinionPool @"pool"
#define kStockAppServiceModifySystemRadar @"ModifySystemRadar"
#define kStockAppServiceModifyRadarRange @"ModifyRadarRange"
#define kSubmitAnswers      @"submitAnswers"

@interface StockAppService : BaseService {
    
}
-(void)signUp;
-(void)loginWithUserId:(NSString *)userId;
-(void)sendPushToken:(NSString *)token;
-(void)logout;
-(void)queryOpinionPool;
-(void)queryNewOpinionWithIndex:(NSInteger)stockId andType:(NSString *)type;
-(void)modifySystemRadar:(NSString *)radarId state:(BOOL)state;
-(void)modifyRadarRange:(NSInteger)range;
-(void)submitAnswers:(NSString *)answer;

@end
